home *** CD-ROM | disk | FTP | other *** search
-
- shader()
- {
- cull("none")
- sortweight("sprite")
-
- pass()
- {
-
-
- tmu()
- {
- texture()
- {
- usermap(0)
- filtering("linear_no_mip")
- addressfunc("clamp", "clamp", "clamp")
- }
-
- colorop("mul", "texture", "tfactor", "current")
- alphaop("mul", "texture", "tfactor", "current")
- }
-
-
- tmu()
- {
- usertexmtx(0)
- texture()
- {
- usermap(1)
- filtering("linear_no_mip")
- addressfunc("clamp", "clamp", "clamp")
- }
-
- colorop("arg2", "texture", "current", "current")
- alphaop("mul", "texture", "current", "current")
- }
-
- colorgen("tfactor", "user", 0, 0, 0, "user", 0, 0, 0)
-
- blendfunc( "src_alpha", "inv_src_alpha" )
- depthfunc( "always", 0 )
- }
- pass()
- {
-
-
- tmu()
- {
- TexMod( "translate", "lin", 0, 1, 0, "lin", 0, -0.2, 0 )
- texture()
- {
- Image("ch_t_noise.png")
- filtering("linear_no_mip")
- addressfunc("wrap", "wrap", "wrap")
- }
-
- colorop("mul", "texture", "tfactor", "current")
- alphaop("mul", "texture", "tfactor", "current")
- }
-
-
- tmu()
- {
- usertexmtx(0)
- texture()
- {
- usermap(1)
- filtering("linear_no_mip")
- addressfunc("clamp", "clamp", "clamp")
- }
-
- colorop("arg2", "texture", "current", "current")
- alphaop("mul", "texture", "current", "current")
- }
-
- colorgen("tfactor", "user", 0, 0, 0, "user", 0, 0, 0)
-
- blendfunc( "src_alpha", "inv_src_alpha" )
- depthfunc( "always", 0 )
- }
- }
-
-